<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/admin/sncss/css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="__PUBLIC__/admin/sncss/css/timeselector.css">

</head>

<body>

	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
		<li><a>首页</a></li>
		<li><a>自媒体管理</a></li>
		<li><a>添加账户余额</a></li>
	<li><a onClick="javascript:history.back(-1);">返回</a></li>
		</ul>
		</div>

		<div class="formbody">

		<div class="formtitle"><span>账户信息</span></div>
			<form id="formid" name="form1" method="post" action="{:U('/Home/Media/add_balance')}" onsubmit="return form1_submit();">
		<input name="wid"  type="hidden" class="dfinput" value="{$wid}" />
		<ul class="forminfo">
		<li><label>账户编号</label><input type="text" class="dfinput" value="{$wemediadata['wid']}" disabled /><i></i></li>
		<li><label>手机号</label><input type="text" class="dfinput" value="{$wemediadata['username']}" disabled /><i></i></li>
		<li><label>当前余额</label><input type="text" class="dfinput" value="{$wemediadata['balance']}" disabled /><i></i></li>
		<li><label>添加余额</label><input name="balance" id="balance" type="text" class="sminput" style="width: 60px;" value="" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" />元</li>
		<li><label>赠送余额</label><input name="grantmoney" id="grantmoney" type="text" class="sminput" style="width: 60px;" value="" o1nkeyup="this.value=this.value.replace(/[^\d]/g,'');" />元</li>
		<li><label>备注</label><input type="text" name="remark" id="remark" class="lginput" value="" /><i></i></li>
		<li><label>&nbsp;</label><label>&nbsp;</label></li>
		<li><label>&nbsp;</label>
		<input type="submit" class="btn" value="确认添加"/>
		</li>
		</ul>
			</form>

		</div>

</body>
<script src="__PUBLIC__/js/jquery1.8.3.js"></script>
<script src="__PUBLIC__/layer/layer.js"></script>
<script type="text/javascript">

		function form1_submit(){
				/*var balance= $('#balance').val();
				if(balance.length==0||balance==0){
						layer.msg('必须填充值余额');return false;
				}*/
		}
</script>

</html>
